<template>
  <div id="app">
    <!-- 导航栏 -->
    <Nav></Nav>
    <!-- 路由占位符 -->
    <router-view />
  </div>
</template>

<script>
import Nav from "../src/components/Nav.vue"; // 导航栏

export default {
  components: {
    Nav,
  },
  data() {
    return {};
  },

  mounted() {
    // window.onresize = () => {
    //   location.reload();
    // };
  },

  methods: {},
};
</script>

<style lang="less">
#app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
</style>
